<%--
 *  File:    PageConfigInfoHeader.jsp
 *  @Author: banshang
 *  Date:    2010/06/28
 *
 *  Copyright (C) 2000 - 2002 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  //init param
  Category cat = Category.getInstance("jsp.PageConfigInfoHeader");
  String privilegeCode = "10101";
  String strModuleName = "OGM";
%>

<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>

<html>
<head>
<title>PageConfigInfoHeader</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="javascript">
function page_none()
{
    alert('<%=message.getMessageDesc("SAVE_INFO_FIRST")%>');
    return;
}
function page_back()
{
}

function clicked(obj){
	var type=obj.id;
	var pageconfigid = parent.down.cform.pageconfigid.value;
	if(type != "A01" && pageconfigid == null){
		alert('<%=message.getMessageDesc("SAVE_INFO_FIRST")%>');
	    return;
	}
	if(type == "A02"){
		parent.down.location.href="PageConfigDetailInfo.jsp?<%= OvalTools.randomURL() %>&pageconfigid="+pageconfigid;
	}else if (type == "A01"){
		parent.down.location.href="PageConfigInfoMain.jsp?<%= OvalTools.randomURL() %>&pageconfigid="+pageconfigid;	
	}
}
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <form name="cform" method="post" action="../../Dispatcher">

<table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top" height="19">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="summary_top" ></td>
        </tr>
      </table>
    </td>
  </tr>


  <tr>
    <td>
        <%
            Vector vec = new Vector();
            HashMap tabHash = new HashMap();
            tabHash.put("id","A01");
            tabHash.put("label","L_BasicInfo");
            vec.add(new HashMap(tabHash));

            tabHash.put("id","A02");
            tabHash.put("label","L_Detail");
            vec.add(new HashMap(tabHash));

        %>
       <custom:tab  vecAttr="<%=vec%>" defaultID="A01" />

    </td>
  </tr>


</table>
</form>
</body>
</html>


